body {
    color: #666;
    background: #fdfdfd;
    font-family: "Actor","Lucida Grande",Georgia,sans-serif;
    line-height: 1.5;
}

a {
    color: #7CAE23;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

hr {
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.3), rgba(0,0,0,0));
    background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.3), rgba(0,0,0,0)); 
    background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.3), rgba(0,0,0,0)); 
    background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.3), rgba(0,0,0,0)); 
}

.content blockquote {
    border-left: 0.4em solid #DDDDDD;
    color: #888;
    margin: 15px 0;
    padding: 0 15px;
}

.content blockquote em {
    color: #9C6C6C;
    margin-left: 1em;
}

.content img {
    max-width: 100%;
}

.content code {
    background-color: #FEE9CC;
    border-radius: 3px 3px 3px 3px;
    color: rgba(0, 0, 0, 0.75);
    font-size: 13px;
    margin-left: 3px;
    margin-right: 3px;
    padding: 1px 3px;
}

.content pre {
    background-color: #F8F8F8;
    border: 1px solid #CCCCCC;
    border-radius: 3px 3px 3px 3px;
    font-size: 13px;
    line-height: 19px;
    margin: 6px 0;
    overflow: auto;
    padding: 6px 10px;
    white-space: pre;
}

.content pre code,
.content .highlight code {
    background-color: transparent;
    color: #5D6A6A;
    margin: auto;
    padding: 0;
}

/* --- */

.content-wrapper {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.content-area {
    background: #fff;
    border: 1px solid #ddd;
    padding: 25px 29px 0;
}

.nav-area {
    width: 100%;
    padding: 22px 0 0;
    z-index: 999;
    background: #fdfdfd;
}

.nav-area ul {
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav-area li {
    list-style: none;
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 6px;
}

.nav-area li.title a {
    background: #508BDD;
}

.nav-area ul li ul {
    display: none;
}

.nav-area .nav-highlight a {
    background: #F19227;
}

.nav-area .nav-highlight a:hover {
    background: #F19227;
}

.nav-area a {
    font-size: 14px;
    padding: 5px 12px;
    background: #80B424;
    color: #fff;
    font-weight: bold;
    border-radius: 2px;
    display: block;
    transition: all 0.3s ease-out;    
}

.nav-area a .iconfont {
    color: #eee;
    margin-left: 6px;
    font-size: 12px;
}

.nav-area a:hover {
    background: #95CC34;
    text-decoration: none;
}

.main-area {
    margin-top: 10px;
    margin-bottom: 25px;
}

.content-area h1 {
    font-size: 28px;
    text-align: center;
    margin: 30px 0;
}

.content-area h1:before, 
.content-area h1:after {
    content: '—';
    color: #eee;
    margin: 1.5em;
}

.content-area h2 {
    font-size: 22px;
    color: #7CAE23;
}

.content-area h3 {
    font-size: 18px;
}

.content-area h4 {
    font-size: 14px;
}

/* responsive */
@media (max-width: 980px) {

}

/* 清理浮动 */
.fn-clear:after {
    visibility:hidden;
    display:block;
    font-size:0;
    content:" ";
    clear:both;
    height:0;
}
.fn-clear {
    zoom:1; /* for IE6 IE7 */
}

/* 隐藏, 通常用来与 JS 配合 */
body .fn-hide {
    display:none;
}

/* 设置内联, 减少浮动带来的bug */
.fn-left,.fn-right {
    display:inline;
}
.fn-left {
    float:left;
}
.fn-right {
    float:right;
}

/* 单行文字溢出时出现省略号，需设定宽度 */
.fn-text-overflow {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 简单的渐变 */
.fn-linear {
    background: -webkit-gradient(linear, left top, left bottom, from(#fcfcfc), to(#f1f1f1));
    background: -moz-linear-gradient(top, #fcfcfc, #f1f1f1);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#f1f1f1');
    background:-o-linear-gradient(top, #fcfcfc, #f1f1f1);
    background: linear-gradient(top, #fcfcfc, #f1f1f1);
}

/* 浅色的渐变 */
.fn-linear-light {
    background: -webkit-gradient(linear, left top, left bottom, from(#fcfcfc), to(#f9f9f9));
    background: -moz-linear-gradient(top, #fcfcfc, #f9f9f9);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#f9f9f9');
    background:-o-linear-gradient(top, #fcfcfc, #f9f9f9);
    background: linear-gradient(top, #fcfcfc, #f9f9f9);
}

/* 人民币符号 */
.fn-rmb {
    font-family: arial;
    font-style: normal;
    padding-right: 4px;
}

/* chrome 下字体过小的问题 */
.fn-webkit-adjust {
    -webkit-text-size-adjust: none;
}

/* --- */

.content .nico-iframe {
    position: relative;
}
.content .nico-iframe iframe {
    width: 100%;
}
.content .nico-iframe .new-window {
    position: absolute;
    top: 30px;
    right: -40px;
    font-size: 12px;
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
}
.content .highlight {
    background-color: transparent;
    padding-top: 1px;
    position: relative;
}
.content .collapse pre {
    overflow: hidden;
    height: 60px;
}

.content .highlight .code-toggle {
    position: absolute;
    top: -10px;
    right: 2px;
    font-size: 12px;
    padding: 3px 5px;
    background: rgba(0, 0, 0, 0.16);
    border-radius: 4px 4px 0 0;
    text-decoration: none;
    color: #fff;
    line-height: 1;
}

